package club.topcoder.fly.post

import org.springframework.data.jpa.repository.JpaRepository

interface PostRepository : JpaRepository<Post, Long> {

    fun findBySlug(slug: String): Post?

    fun findAllByOrderByAddedAtDesc(): Iterable<Post>

}
